package com.eddy.liveline.requirement.dao;

import com.eddy.liveline.requirement.pojo.Requirement;
import com.eddy.liveline.requirement.pojo.RequirementTableQuery;

import java.util.List;

public interface RequirementMapper {

    boolean batchSave(List<Requirement> requirements);

    Requirement getById(String id);

    List<Requirement> query(RequirementTableQuery query);

    boolean batchUpdate(List<Requirement> requirements);

    boolean deleteById(String id);

    boolean deleteByIds(List<String> ids);
}